package org.freewill.example.model;

import java.util.Date;

import org.freewill.db.ID;
import org.freewill.db.Model;

public class Article extends Model{
	
	@ID
	private Long id;
	private String title;
	private String body;
	private Integer views;
	private Date created;

	public Article() {
		
	}
	   
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public int getViews() {
		return views;
	}

	public void setViews(int views) {
		this.views = views;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

}
